﻿@inherits System.Web.Mvc.WebViewPage<WorkBookViewModel>
@{
    ViewBag.Title = "Work book";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@Html.Action("New", "Task")
<div id="tasks">
    @foreach (var item in Model.Tasks.OrderBy(t => t.CreatedDate))
    {
        @Html.Partial("TaskItem", item);
    }
</div>
@Html.Hidden("workBookName", Model.Name, new { id = "workBookName" })
